//
//  ProductModel.m
//  DaDaLiCai
//
//  Created by apple on 15/11/18.
//  Copyright © 2015年 Mikeshihua. All rights reserved.
//

#import "ProductModel.h"

@implementation ProductModel
-(instancetype)initWithDictionary:(NSDictionary *)dict
{
    if (self = [super init])
    {
        _pid = [dict objectForKey:@"pid"];
        _paname = [dict objectForKey:@"paname"];
        _pname = [dict objectForKey:@"pname"];
        _pcode = [dict objectForKey:@"pcode"];
        _paymethod = [dict objectForKey:@"paymethod"];
        _pyid = [dict objectForKey:@"pyid"];
        _revperiod = [dict objectForKey:@"revperiod"];
        _revrate = [dict objectForKey:@"revrate"];

    }
    return self;
}
@end
